import service from "@/request/index";
import { ApplyListResult, ApplyParams, FavoriteListResult } from "./model";
import { UserInfo } from "../auth/model";

export class MyApi {
  
  static getUserInfo(): ApiPromise<UserInfo> {
    return service.request({
      url: `/user/info`,
      method: "GET",
    });
  }
}
